package com.ruicar.afs.cloud.afscase.common.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseBaseInfo;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseCarInfo;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseChannelInfo;
import com.ruicar.afs.cloud.bizcommon.business.entity.FinCostDetails;
import com.ruicar.afs.cloud.bizcommon.business.entity.FinFinancingItems;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 调用产品接口DTO
 * @author: sijun.yu
 * @date: 2020/7/7 11:18
 */
@Data
public class ProductInfoDTO {


    /**
     * 每页大小
     */
    private int pageSize;

    /**
     * 当前页数
     */
    private int pageNo;

    /**
     * 渠道信息
     */
    private CaseChannelInfo channelInfo;

    /**
     * 车辆信息
     */
    private CaseCarInfo carInfo;

    /**
     * 原子信息
     */
    private CaseBaseInfo atomInfo;

    /**
     * 车款费用信息
     */
    private FinCostDetails mainProductInfo;

    /**
     * 附加贷费用信息
     */
    private FinCostDetails addProductInfo;

    /**
     * 融资列表
     */
    private List<FinFinancingItems> extrasInfoList;

    /**
     * 合同总价格
     */
    private BigDecimal totalContractAmt;

    /**
     * 贷款总额
     */
    private BigDecimal totalLoanAmt;

    /**
     * 首付款总额
     */
    private BigDecimal totalFirstAmt;

    /**
     * 贴息金额
     */
    private BigDecimal totalDiscountAmt;

    /**
     * 利息总额
     */
    private BigDecimal totalInterest;

    /**
     * 月供总额
     */
    private BigDecimal totalRent;

    /**
     * 产品ID
     */
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long id;

}
